﻿using System;
using System.Collections.Generic;
using System.Text;

namespace efish.Framework.Model
{
    public class NewsClass : BaseModel
    {
        #region Basic info
        private string _name;
        public virtual string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        private string _des;
        public virtual string Des
        {
            get
            {
                return _des;
            }
            set
            {
                _des = value;
            }
        }

        private int _parentid;
        public virtual int ParentID
        {
            get
            {
                return _parentid;
            }
            set
            {
                _parentid = value;
            }
        }

        #endregion

        private ICollection<NewsItem> _items;
        public virtual ICollection<NewsItem> Items
        {
            get
            {
                return _items;
            }
            set
            {
                _items = value;
            }
        }
    }
}
